org.eclipse.vtp.framework.common.configurations
Class FieldConfiguration

java.lang.Object
  extended by org.eclipse.vtp.framework.common.configurations.FieldConfiguration
All Implemented Interfaces:
CommonConstants, IConfiguration

public class FieldConfiguration
extends java.lang.Object
implements IConfiguration, CommonConstants

A configuration for a field of a data type.

Author:
Lonnie Pryor

Field Summary
 
Fields inherited from interface org.eclipse.vtp.framework.common.configurations.CommonConstants
MAPPING_TYPE_EXPRESSION, MAPPING_TYPE_NONE, MAPPING_TYPE_STATIC, MAPPING_TYPE_VARIABLE, NAME_ASSIGNMENT, NAME_BRANCH, NAME_BRAND, NAME_DATA_TYPE, NAME_DISPATCH, NAME_ENTRY, NAME_EXIT, NAME_FIELD, NAME_INITIAL_VALUE, NAME_KEY, NAME_LEFT_OPERAND, NAME_NAME, NAME_OUTGOING, NAME_PATH, NAME_PRIMARY_FIELD, NAME_RIGHT_OPERAND, NAME_SCRIPT, NAME_SCRIPTING_LANGUGAGE, NAME_TYPE, NAME_URI, NAME_VALUE, NAME_VARIABLE_MAPPING, NAMESPACE_URI
 
Constructor Summary
FieldConfiguration()
          Creates a new DataTypeConfiguration.
 
Method Summary
 java.lang.String getInitialValue()
          Returns the initial value of this field when an object is created.
 java.lang.String getName()
          Returns the name of this field.
 java.lang.String getType()
          Returns the type of this field.
 void load(org.w3c.dom.Element configurationElement)
          Loads the configuration information from the specified XML element.
 void save(org.w3c.dom.Element configurationElement)
          Saves the configuration information into the supplied XML element.
 void setInitialValue(java.lang.String initialValue)
          Sets the initial value of this field when an object is created.
 void setName(java.lang.String name)
          Sets the name of this field.
 void setType(java.lang.String type)
          Sets the type of this field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldConfiguration

public FieldConfiguration()
Creates a new DataTypeConfiguration.

Method Detail

getName

public java.lang.String getName()
Returns the name of this field.

Returns:
The name of this field.

setName

public void setName(java.lang.String name)
Sets the name of this field.

Parameters:
name - The name of this field.

getType

public java.lang.String getType()
Returns the type of this field.

Returns:
The type of this field.

setType

public void setType(java.lang.String type)
Sets the type of this field.

Parameters:
type - The type of this field.

getInitialValue

public java.lang.String getInitialValue()
Returns the initial value of this field when an object is created.

Returns:
The initial value of this field when an object is created.

setInitialValue

public void setInitialValue(java.lang.String initialValue)
Sets the initial value of this field when an object is created.

Parameters:
initialValue - The initial value of this field when an object is created.

load

public void load(org.w3c.dom.Element configurationElement)
Description copied from interface: IConfiguration
Loads the configuration information from the specified XML element.

Specified by:
load in interface IConfiguration
Parameters:
configurationElement - The element to load the configuration from.

save

public void save(org.w3c.dom.Element configurationElement)
Description copied from interface: IConfiguration
Saves the configuration information into the supplied XML element.

Specified by:
save in interface IConfiguration
Parameters:
configurationElement - The element to save the configuration to.